package com.wondertek.service.sdk.iotdh.dto.res.doorDetector;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * @author xxx
 * @Date 2024/8/12 11:08
 */
@Data
public class KeyswitchInfo {
    @Schema(name = "controlMode", description = "控制模式字符串，可以是按打开次数或按钥匙开关状态", required = false)
    private String controlMode;

    @Schema(name = "controlType", description = "控制类型，0-布防/撤防；1-在家模式/撤防；2-布防；3-在家模式；4-撤防", required = false)
    private Integer controlType;

    @Schema(name = "controlAreaIds", description = "控制分区id列表 [0]-全局（所有分区1-32）；[1,2]表示分区1和分区2。", required = false)
    private List<Integer> controlAreaIds;
}
